﻿ReturnTypeString(String)
{
	ReturnArray := Object()
	If RegExMatch(String,"\n") And RegExMatch(String,"^(\.|(Folder))")
	{
		ReturnArray.Type := "Multifiles"
		ReturnArray.String := String
	}
	Else
	{
		ReturnArray.Type := Substr(String,1,RegExMatch(String,"\|")-1)
		Match := ToMatch(ReturnArray.Type) "\|"
		ReturnArray.String := RegExReplace(String,Match,"",Out,1)
	}
	Return ReturnArray
}
